package cn.study.luckydomain.gateway;

import cn.study.luckyclient.dto.data.ActivityRuleVo;
import cn.study.luckyclient.dto.query.ActivityRuleByParamQuery;
import cn.study.luckydomain.activity.ActivityEntity;
import cn.study.luckydomain.activityrule.ActivityRuleEntity;

import java.util.List;

public interface ActivityRuleGateway {
    ActivityRuleEntity add(ActivityRuleEntity activityRuleEntity);
    List<ActivityRuleEntity> list(ActivityRuleByParamQuery query);

    void deleteByActivityId(Long activityId);
}
